package com.res.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.res.entity.Department;

public interface DepartmentService {
/**
 * 多条件模糊查询
 */
	Page<Department>findByDname(Department d,Pageable pageable);
	/**
	 * 添加和修改
	 */
	Department AddandUpdateDepartment(Department d);
	/**
	 * 删除
	 */
	void deleteDepartment(Integer did);
}
